/*
 * @Author: your name
 * @Date: 2021-05-23 18:25:50
 * @LastEditTime: 2021-06-06 14:23:16
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /xiangpan-admin/src/enum/index.tsx
 */
export enum EVipLevel {
  first = 'vip_one',
  second = 'vip_two',
  third = 'vip_three',
}

export enum EPermission {
  SuperAdmin = 1,
  ChainAdmin = 2,
  StoreAdmin = 3,
}

export const IJudge = {
  0: '否',
  1: '是',
};
export const ISex = {
  1: '男',
  2: '女',
};

export const IS_Super = {
  1: '超级管理员',
  2: '连锁店管理员',
  3: '门店管理员',
};

export const ProjectStatus = {
  0: '未开始',
  1: '进行中',
  2: '已结束',
  3: '已取消',
  4: '未操作',
};
export const BellStatus = {
  0: '未处理',
  1: '已通过',
  2: '未通过',
};

export const OrderStatus = {
  0: '未付款',
  1: '已付款',
  2: '已退款',
  3: '已取消',
};

export const PayType = {
  1: '账户余额',
  2: '权益支付',
  3: '现金支付',
};

export const BellStatusList = [
  { value: 0, key: 0, label: BellStatus[0] },
  { value: 1, key: 1, label: BellStatus[1] },
  { value: 2, key: 2, label: BellStatus[2] },
];
export const ProjectStatusList = [
  { value: 0, key: 0, label: ProjectStatus[0] },
  { value: 1, key: 1, label: ProjectStatus[1] },
  { value: 2, key: 2, label: ProjectStatus[2] },
  { value: 3, key: 3, label: ProjectStatus[3] },
  { value: 4, key: 4, label: ProjectStatus[4] },
];
export const VipLevel = {
  [EVipLevel.first]: '黄金会员',
  [EVipLevel.second]: '铂金会员',
  [EVipLevel.third]: '钻石会员',
};
export const SEX = [
  { value: 1, key: 1, label: ISex[1] },
  { value: 2, key: 2, label: ISex[2] },
];
export const IS_TRUE = [
  { value: 0, key: 0, label: IJudge[0] },
  { value: 1, key: 1, label: IJudge[1] },
];

export const SuperList = [
  { value: 1, key: 1, label: IS_Super[1] },
  { value: 2, key: 2, label: IS_Super[2] },
  { value: 3, key: 3, label: IS_Super[3] },
];
export const VipLevelList = [
  {
    value: 1,
    key: 1,
    label: VipLevel.vip_one,
  },
  {
    value: 2,
    key: 2,
    label: VipLevel.vip_two,
  },
  {
    value: 3,
    key: 3,
    label: VipLevel.vip_three,
  },
];
